package info.xingxingdd.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 应用程序入口
 */
@SpringBootApplication
@MapperScan("info.xingxingdd.admin.mapper")
@EntityScan("info.xingxingdd.admin.entity")
@EnableTransactionManagement
public class AdminApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(AdminApiApplication.class, args);
    }

}
